#include <time.h>
#include <iostream>
#include "database/Client.hpp"
#include "TCPServer.h"
#include "Protocol.h"

void CSProtocol::Welcome::sendTreat(TCPConnection &connexion)
{
  CSProtocol::Header header = CSProtocol::Header();
  header.code = CSProtocol::Welcome::code;
  header.dataLength = sizeof(CSProtocol::Welcome);
  header.spontaneous = true;
  connexion.write(header, *this);
}

void CSProtocol::Welcome::receiveTreat(TCPConnection &connexion, IData *data)
{

}
